package com.application.controller;

//用来设置状态码
public class Code {
    //用来  定义常量的状态码   来让后端选择
    public static final Integer SAVE_OK=20011;
    public static final Integer DELETE_OK=20021;
    public static final Integer UPDATE_OK=20031;
    public static final Integer SELECT_OK=20041;

    public static final Integer SAVE_ERR=20010;
    public static final Integer DELETE_ERR=20020;
    public static final Integer UPDATE_ERR=20030;
    public static final Integer SELECT_ERR=20040;

    public static final Integer LOGIN_OK=20051;
    public static final Integer LOGIN_ERR=20050;

    public static final Integer REGISTER_OK=20060;
    public static final Integer REGISTER_ERR=20061;

    public static final Integer BUSINESS_ERR=60001;
    public static final Integer SYSTEM_ERR=60002;
    public static final Integer BUSINESS_UNKNOW_ERR=60003;


}
